ExamPlay Light Logo
Είσοδος

Computer Science for IGCSE & O level - Programming (Section 11 - No. 27)

In the Totaling example, how is the variable 'TotalWeight' updated?
TotalWeight = Weight
TotalWeight = TotalWeight - Weight
TotalWeight = TotalWeight + Weight
TotalWeight = Weight - TotalWeight

Εξήγηση

TotalWeight accumulates the sum with each iteration.

Σχόλια (0)

Είσοδος για σχόλιο
Διαφήμιση
BrainBehindX Inc Logo
©2026; Τροφοδοτείται από BrainBehindX Inc